.box {
  width: 300px;
  height: 300px;  
  background-color: blue;
}

.foo {
  width: 300px;
  height: 300px;
  background-color: purple;;
}